package com.zxm.ex.hall;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@EnableDiscoveryClient
@EnableFeignClients
@ComponentScan(basePackages = {"com.zxm.ex"})
@MapperScan(basePackages = {"com.zxm.ex.hall.dao.mapper"})
@SpringBootApplication
public class HallApp {
    public static void main(String[] args) {
        SpringApplication.run(HallApp.class,args);
    }
}
